package demo2;

import demo3.TestPro;

class Test1 {
    public int i = 1;
    public int x = 2;
     public  void b(){
         System.out.println("你好2");
     }

}
class Base extends  Test1{
    public  int w = 4;
public  int x  = 1234;
    public  void base(){
        System.out.println(i);
        System.out.println(w);
        System.out.println(this.x);
        System.out.println(super.x);

    }
    public  void b(){
        System.out.println("你好1");
    }
    public  void  Mon(){
       b();
      b();
    }


}

public class Test extends TestPro {
    public void Test333(){
        System.out.println(super.a);
    }
    public static  void main(String[] args) {
//        Base bb = new Base();
//        bb.Mon();
        Test test = new Test();
        System.out.println(test.a);


    }
}
